package org.yong.springbootcmd.service.impl;

import org.springframework.stereotype.Service;
import org.yong.springbootcmd.model.vo.WsProtocol;
import org.yong.springbootcmd.service.WsProtocolHandler;
import org.yong.springbootcmd.service.WsProtocolService;

import javax.annotation.Resource;

@Service
public class WsProtocolServiceImpl implements WsProtocolService {

  @Resource(name = "WsProtocolHandlerBase")
  WsProtocolHandler handlerCenter;

  @Override
  public WsProtocol handle(WsProtocol param) {
    return handlerCenter.handle(param);
  }
}
